import json
from config import BASE_DIR

def build_data():
    with open(BASE_DIR+r"\data\login.json",encoding='utf-8') as f:
        data=json.load(f)
    new_list=[]
    for d in data:
        d.pop('desc')
        new_list.append(tuple(d.values()))
    return new_list
if __name__ == '__main__':
    build_data()